class SimpleWriter
  def initialize(path)
    @file = File.open(path, "w")
  end

  def write_line(line)
    @file.write(line)
    @file.write("\n")
  end

  def close
    @file.close
  end
end